import { Injectable } from "@nestjs/common";
import { KwFile } from "../interfaces";

@Injectable()
export class UploadService {
  async uploadFile(file: KwFile) {
    return file.originalname;
  }

  async uploadFiles(files: KwFile[]) {
    return files.map(file => file.originalname);
  }
}